﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace ZX.OA.Model
{
    /// <summary>
    /// 新闻公告表
    /// </summary>
    public class NewsInfo
    {
        [Key]
        public int NewsId { get; set; }
        public string NewsTitle { get; set; }
        public string NewsContent { get; set; }
        public string NewsClick { get; set; }
        public string NewsComment { get; set; }
        public DateTime NewsDate { get; set; }
        public string NewsRange { get; set; }

        public int NewsTypeId { get; set; }
        public virtual NewsTypeInfo NewsTypeInfo { get; set; }
    }
}
